<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.fit.user.dao.*"  %>
<%@page import="com.fit.user.entity.CaseMsgEntity"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.fit.user.entity.CaseMsgEntity"%>
<%
String contextPath = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";

//根据警号得到该警员的权限
	  String policeID = (String)session.getAttribute("policeID");
  PoliceMsgDAO policeMsgDAO = new PoliceMsgDAO();
  String purview = policeMsgDAO.getPoliceMsg(policeID).getPurview();
  String policeName = policeMsgDAO.getPoliceMsg(policeID).getPoliceName();
   String caseID = (String)session.getAttribute("caseID");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'inquiry_and_inquest.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	  	<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}


</style>
<script type="text/javascript">
function gofun(_link) {
    window.top.frames('mainFrame').location.href=_link;

 }
 function gofun_check()
  {
  alert("对不起,您没有操作权限!");
  }
</script>
<link href="<%=contextPath%>/img/skin/skin.css" rel="stylesheet" type="text/css" />
		<link href="<%=contextPath%>/css/sic.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
    
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="<%=contextPath%>/img/skin/mail_leftbg.gif"><img src="<%=contextPath%>/img/skin/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="<%=contextPath%>/img/skin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
        <td height="31" width="85">
          <a style="cursor:hand;" onclick="gofun('/police/police/bodyMsg.jsp')"> 
               <div class="mytitlebt">人身检查  
</div> </a>
        </td>
            <td height="31" width="85">
               <a style="cursor:hand;" onclick="gofun('/police/police/goods_and_material_evidencesmsg.jsp')"> 
       <div class="titlebt">物证保管</div>
       </a>
        </td>
            <td height="31" width="85">
              <a style="cursor:hand;" onclick="gofun('/police/msg_get.jsp')"> 
       <div class="mytitlebt">信息采集 </div>
       </a>
        </td>
            <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/inquiry_and_inquest.jsp')"> 
       <div class="mytitlebt">询问讯问</div>
       </a>
        </td>
            <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/manager_houwen.jsp')"> 
       <div class="mytitlebt">候问约束 </div>
        </td>
            <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/select_case.jsp')"> 
       <div class="mytitlebt">资料调阅</div>
       </a>
        </td>
        <%
				if(purview != null && purview.equals("0")){
				 %>
        <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun('/police/police/manager.jsp')"> 
       <div class="mytitlebt">县局管理</div>
       </a>
        </td>
      <%} else{%>
        
        <td height="31" width="85">
         <a style="cursor:hand;" onclick="gofun_check('')"> 
       <div class="mytitlebt">县局管理</div>
       </a>
        </td>
        <%} %>
         <td height="20" align="right">&nbsp;</td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="<%=contextPath%>/img/skin/mail_rightbg.gif"><img src="<%=contextPath%>/img/skin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="<%=contextPath%>/img/skin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
		<table width="100%" height="550" border="0" cellpadding="0" cellspacing="0" id="mybgcolor">
		
		<tr><td height="10"><b style="font-size:20;">该备案编号为:<%=caseID%></b></td></tr>
		<tr><td valign="top" ><br/><br/><br/>
 <center><h2><a href="goodsmsg.jsp" style=" background-image:url('<%=contextPath%>/img/skin/anniu.jpg');width:85px;color:#ffffff;">临时物品</a></h2></center>
<center><h2><a href="police/material_evidencesmsg.jsp" style=" background-image:url('<%=contextPath%>/img/skin/anniu.jpg');width:85px;color:#ffffff;">物&nbsp;&nbsp;&nbsp;证</a></h2></center>
<center><h2><a href="police/goods_return.jsp" style=" background-image:url('<%=contextPath%>/img/skin/anniu.jpg');width:85px;color:#ffffff;">物品处理</a></h2></center>
		</td></tr></table>
	</td>
    <td background="<%=contextPath%>/img/skin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="<%=contextPath%>/img/skin/mail_leftbg.gif"><img src="<%=contextPath%>/img/skin/buttom_left2.gif" width="17" height="17" /></td>
    <td background="<%=contextPath%>/img/skin/buttom_bgs.gif"><img src="<%=contextPath%>/img/skin/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="<%=contextPath%>/img/skin/mail_rightbg.gif"><img src="<%=contextPath%>/img/skin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
 
  </body>
</html>
